//
//  IdeaBaseView.m
//  planner
//
//  Created by 함동균 on 2014. 3. 22..
//  Copyright (c) 2014년 idea. All rights reserved.
//

#import "IdeaBaseV.h"

@interface IdeaBaseView()
@end

@implementation IdeaBaseView

// Lazy instanciators
- (NSString *)tabBarName
{
    if (!_tabBarName) {
        _tabBarName = TAB_BAR_CALENDAR;
    }
    return _tabBarName;
}

- (id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // Initialization code
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
}
 */

// Property fetcher from theme
- (UIColor *)getColorForProperty:(NSString *)property
{
    UIColor *color;
    color = [Theme colorProperty:property fromTabMenu:self.tabBarName];
    return color;
}

- (void)updateTheme
{
    
}
@end
